<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class MY_Email extends CI_Email
{
        function __construct($config = array()) {
                parent::__construct($config);
        }
        /**
     * Set Email Subject
     *
     * @access    public
     * @param    string
     * @return    void
     */
    function subject($subject)
    {
        //$subject = '=?'. $this->charset .'?B?'. base64_encode($subject) .'?=';
        $this->_set_header('Subject', $subject);
        //parent::subject($subject);
	//return parent;
    }
    
    private function _set_header($header, $value)
    {
	$this->_headers[$header] = $value;
    }
}  